/*
 * @Author: chen haoxuan
 * @Date: 2021-06-07 22:34:25
 * @LastEditTime: 2021-06-07 22:47:04
 */
#include<iostream>
using namespace std;
class Point
{
  public:
    Point(float x=0,float y=0);
    void setPoint(float,float);
    float getX() const {return x;}
    float getY() const {return y;}
    friend ostream & operator <<(ostream & , const Point&);
  private:
    float x,y;
};
// 定义Ponit类的成员函数
Point::Point(float a,float b)
{
  x=a;
  y=b;
}
// 设置 x 和 y的坐标值
void Point::setPoint(float a,float b)
{
  x=a;
  y=b;
}
// 重载运算符 <<
ostream & operator <<(ostream& output,const Point &p)
{
  output<<"["<<p.x<<"<"<<p.y<<"]"<<endl;
  return output;
}

class Circle:public Point
{
  
}